package br.eng.eliseu.gwt.aconchego.camera.server;


import javax.servlet.http.HttpSession;

import br.eng.eliseu.gwt.aconchego.camera.module.Usuario;


public class SessionHelper {

	private static final String USER = "user";

	public static Usuario getUser(HttpSession session){
		return (Usuario) session.getAttribute(USER);
	}
	public static void setUser(HttpSession session, Usuario user){
		session.setAttribute(USER, user);
	}
}